﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ViewAllOfficerPage.aspx.cs" Inherits="UniversityStudentManagemnetSystem.UI.ViewAllOfficerPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">



<div align="center">
<fieldset style="width: 800px; height:600px;">
<fieldset style="width: 200px; height:100px;">

<legend style="text-decoration: blink; color : purple;">Search By </legend>
<table>

<tr>
<td>
    <asp:Label ID="Label1" runat="server" Text="Designation"></asp:Label>
    </td>
<td>
    <asp:RadioButton ID="designationRadioButton" runat="server" 
        oncheckedchanged="DesignationRadioButton_CheckedChanged" 
        AutoPostBack="True" />
    </td>
<td>
    <asp:DropDownList ID="designationDropDownList" runat="server">
    </asp:DropDownList>
    </td>
    <td>
        <asp:Button ID="searchButton" runat="server" Text="Search" 
            onclick="searchButton_Click" />
    </td>
</tr>
<tr>
<td>
    <asp:Label ID="Label2" runat="server" Text="All"></asp:Label>
    </td>
<td>
    <asp:RadioButton ID="allRadioButton" runat="server" 
        oncheckedchanged="allRadioButton_CheckedChanged" AutoPostBack="True" />
    </td>
<td></td>

</tr>
<tr>
<td></td>
<td></td>
<td>
    <asp:LinkButton ID="PersonalSearchLinkButton" runat="server" 
        onclick="PersonalSearchLinkButton_Click">Personaly Search</asp:LinkButton>
    </td>

</tr>
</table>



</fieldset>


<div align="center">


    <asp:GridView ID="officerGridView" runat="server" AutoGenerateColumns="False" 
        BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" 
        CellPadding="3" GridLines="Vertical">
        <AlternatingRowStyle BackColor="#DCDCDC" />
        <Columns>
            <asp:BoundField DataField="Name" HeaderText="Name" ReadOnly="True" 
                SortExpression="Name" />
            <asp:BoundField DataField="Email" HeaderText="Email" ReadOnly="True" 
                SortExpression="Email" />
            <asp:BoundField DataField="ContactNumber" HeaderText="Contact  No" 
                ReadOnly="True" SortExpression="ContactNumber" />
            <asp:BoundField DataField="DateOfBirth" HeaderText="Birthday" ReadOnly="True" 
                SortExpression="DateOfBirth" />
            <asp:BoundField DataField="JoiningDate" HeaderText="Join Date" ReadOnly="True" 
                SortExpression="JoiningDate" />
        </Columns>
        <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
        <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
        <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
        <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#0000A9" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#000065" />
    </asp:GridView>


</div>

</fieldset>



</div>
</asp:Content>








